Skip to contentSkip to conversation

DC R9 285 HDMI audio regression since drm/amd/display: try to find matching audio inst for enc inst first

Bug 104391 [email protected] 1 participant 11 messages Dec 27, 2017 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104391

Bug ID: 104391
Summary: DC R9 285 HDMI audio regression since drm/amd/display:
try to find matching audio inst for enc inst first
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

R9 285 Tonga with DC (only DC ever worked for HDMI audio with this card/TV combo)

Haven't tested any other use cases other than mine =

HDMI TV is off DVI-D monitor is on with X running, Turn on TV, do xrandr --output HDMI-A-0 --auto && xrandr --output HDMI-A-0 --below DVI-D-0

Since this commit I get no sound.

commit cfb071f7a9673109415d097125b3c12c16836acc

Author: Charlene Liu <[email protected]>
Date:   Wed Nov 15 18:55:57 2017 -0500

drm/amd/display: try to find matching audio inst for enc inst first

[Description]
in eDP+ HDMI/DP clone or extended configuration, audio inst changed from
inst 1 to inst0.
No failure related this though, just playback device endpoint inst changed. Also remove one addition register read.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

Charlene <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #2 from Charlene <[email protected]> ---
This issue is related to AFMT_CNTL's AFMT_AUDIO_CLOCK_EN. sequence issue. fixed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

--- Comment #3 from Andy Furniss <[email protected]> --- Thanks, I'll close when the fix makes it into something public.

Current agd5f drm-next-4.18-wip still has the issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

--- Comment #4 from Andy Furniss <[email protected]> --- What is the fix?

I see drm/amd/display: HDMI has no sound after Panel power off/on

just went in agd5f drm-next-4.17

But this does not fix this issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

--- Comment #5 from Andy Furniss <[email protected]> --- Created attachment 138816
--> https://bugs.freedesktop.org/attachment.cgi?id=138816&action=edit
dmesg with hdmi warnings

Hmm, maybe something else is going wrong.

I am getting hdmi warnings in dmesg (attached) when enabling the TV - I haven't seen these before when testing this issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

--- Comment #6 from Andy Furniss <[email protected]> --- It seems that

HDMI has no sound after Panel power off/on

is the cause of the warnings.

I tested 4.18-wip, no sound of course but nothing in dmesg.

I then applied "HDMI has no sound after Panel power off/on" as a patch and get no sound + the warnings in dmesg on enabling the TV.

Remove the patch, then

git revert cfb071f7a9673109415d097125b3c12c16836acc

= working sound.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

Roman Li <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Roman Li <[email protected]> ---
There were a couple of fixes wrt HDMI audio in DC v3.1.47. They've been merged today to https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

--- Comment #8 from Andy Furniss <[email protected]> --- I tried agd5f drm-next-4.19-wip, which reports [drm] Display Core initialized with v3.1.47

but still no sound.

The warning/bt in dmesg is not there any more.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

--- Comment #9 from Andy Furniss <[email protected]> --- I have a new TV now and can't get hdmi audio working at all.

Maybe my use/setup of alsa doesn't help, but IIRC I did try and fail with a fedora live USB as well.

It works perfectly if I boot into Windows 7, so I know this TV/card combo is OK.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104391

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|ASSIGNED                    |RESOLVED

--- Comment #10 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/281.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel